home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / cserial.zip / SCREEN.H < prev    next >
C/C++ Source or Header  |  1990-04-04  |  2KB  |  62 lines

  1. /*
  2.  *                              SCREEN.H
  3.  *
  4.  *                         Screen i/o Handler
  5.  *
  6.  *                           Written for the
  7.  *
  8.  *                              Datalight
  9.  *                           Microsoft V 5.x
  10.  *                                TurboC
  11.  *                                  &
  12.  *                               Zortech
  13.  *
  14.  *                             C Compilers
  15.  *
  16.  *            Copyright (c) John Birchfield 1987, 1988, 1989
  17.  */
  18.  
  19. extern int  Scr_Cols;
  20. extern int  Scr_Rows;
  21. extern char Scr_Window_Top;
  22. extern char Scr_Page;
  23. extern char Scr_ATTR;
  24.  
  25. /*
  26.  *    The screen attributes can be
  27.  *
  28.  *           UnderLine OR Reverse OR Normal
  29.  *
  30.  *    BRIGHT - BLINK are additional attributes applied to the above
  31.  */
  32.  
  33. #if (!defined (SCREEN_ATTRIB))
  34. #    define SCR_ATTRIB    1
  35. #    define SECURE     0x77
  36. #    define REVERSE    0x70
  37. #    define NORMAL        7
  38. #    define UNDERLINE     1
  39. #    define BLINK      0x80
  40. #    define BRIGHT        9
  41. #    define INVERSE_UL (UNDERLINE | INVERSE)
  42. #endif
  43.  
  44. # ifdef LINT
  45. extern int _kb (void);
  46. extern int screen_init (void);
  47. extern int screen_smode (char);
  48. extern int rowcol (int, int);
  49. extern int g_rowcol (void);
  50. extern int clrscrn (void);
  51. extern int cleol (void);
  52. extern int cleop (void);
  53. extern int scroll_up (int, int, int, int, int);
  54. extern int scroll_dn (int, int, int, int, int);
  55. extern int screen_co (char);
  56. extern int sinp (void);
  57. extern int cursor_off (void);
  58. extern int cursor_on (void);
  59. extern int aputs (int, char *);
  60. extern int aput (int, char);
  61. # endif
  62.